﻿using System.IO;

namespace Labthink.PCSoft.UniversalHost4.Utility
{
    public class DebugHelper
    {
        public static string DebugFile { get; set; } = @"debug.ini";

        public static bool IsInDebugMode()
        {
            if (File.Exists(DebugFile))
            {
                return true;
            }

            return false;
        }

        public static string[] GetDebugUserPassword()
        {
            var lines = File.ReadAllLines(DebugFile);
            return lines;
        }
    }
}
